<?php
$MDOR = 'ED';
if (isset($_POST['htr_ID']) && $_POST['htr_ID'] > 0) {
mn_field('button',$MDOR,'Check','Outro','','','True','" onclick="
			  document.InvoiceProperties.htr_ID.value=\'\';
			  document.InvoiceProperties.FraEntregue.value=\'\';
			  document.InvoiceProperties.FraEnviado.value=\'\';
			  document.InvoiceProperties.FraARecibir.value=\'\';
			  document.InvoiceProperties.FraTasa.value=\'\';
			  document.InvoiceProperties.FraTasaAgn.value=\'\';
			  document.InvoiceProperties.action=\'_response/call.php?get=Operative/remittancecalc\';
			  subform(\'InvoiceProperties\',\'inv_Result\');
			  PopInvoice();
			  document.InvoiceProperties.action=\'_response/call.php?get=Operative/remittancebuttoncalc\';
			  subform(\'InvoiceProperties\',\'inv_Calc\');');

} elseif (!isset($OBJCTOR) || $OBJCTOR == 0) {
mn_field('button',$MDOR,'ActionCALC','Calcular','','','','" onclick="
			document.InvoiceProperties.htr_ID.value=\'\';
			document.InvoiceProperties.action=\'_response/call.php?get=Operative/remittancecalc\'
			subform(\'InvoiceProperties\',\'inv_Result\');"');
}